<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>detailmanager</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<body>
<div id="detailmanager">
<a href="javascript:history.back(-1);"><img src="<%=basePath%>images/goBack.png"/></a>
</div>
<div style="position:absolute;margin-left: 150px;margin-top: 20px;">
	<table style="border-collapse:separate; border-spacing:10px;">
		<tr>
			<td>编号:</td>
			<td>${r"${dmanager.id }"}</td>
		</tr>
		<tr>
			<td>姓名:</td>
			<td>${r"${dmanager.name }"}</td>
		</tr>
		<tr>
			<td>年龄:</td>
			<td>${r"${dmanager.age }"}</td>
		</tr>
		<tr>
			<td>电话:</td>
			<td>${r"${dmanager.tel }"}</td>
		</tr>
		<tr>
			<td>邮箱:</td>
			<td>${r"${dmanager.email }"}</td>
		</tr>
		<tr>
			<td>密码:</td>
			<td>${r"${dmanager.passwd }"}</td>
		</tr>
		<tr>
			<td>是否具有用户管理权:</td>
			<c:if test="${r"${dmanager.umanager==1}"}">
			<td>是</td>
			</c:if>
			<c:if test="${r"${dmanager.umanager!=1}"}">
			<td>否</td>
			</c:if>
		</tr>
		<tr>
			<td>是否具有指导管理权:</td>
			<c:if test="${r"${dmanager.gmanager==1}"}">
			<td>是</td>
			</c:if>
			<c:if test="${r"${dmanager.gmanager!=1}"}">
			<td>否</td>
			</c:if>
		</tr>
		<tr>
			<td>是否具有人才管理权:</td>
			<c:if test="${r"${dmanager.rmanager==1}"}">
			<td>是</td>
			</c:if>
			<c:if test="${r"${dmanager.rmanager!=1}"}">
			<td>否</td>
			</c:if>
		</tr>
		<tr>
			<td>是否具有广告管理权:</td>
			<c:if test="${r"${dmanager.amanager==1}"}">
			<td>是</td>
			</c:if>
			<c:if test="${r"${dmanager.amanager!=1}"}">
			<td>否</td>
			</c:if>
		</tr>
		<tr>
			<td>是否具有论坛管理权:</td>
			<c:if test="${r"${dmanager.bmanager==1}"}">
			<td>是</td>
			</c:if>
			<c:if test="${r"${dmanager.bmanager!=1}"}">
			<td>否</td>
			</c:if>
		</tr>
		<tr>
			<td>是否具有新闻管理权:</td>
			<c:if test="${r"${dmanager.nmanager==1}"}">
			<td>是</td>
			</c:if>
			<c:if test="${r"${dmanager.nmanager!=1}"}">
			<td>否</td>
			</c:if>
		</tr>
	</table>
	<a href="javascript:history.back(-1);"><input type="button" value="返回"/></a>&nbsp;&nbsp;&nbsp;&nbsp;
	<a href="<%=basePath%>servlet/ManagerServlet?m=selectManager&id=${r"${dmanager.id }"}"><input type="button" value="修改"></a>
	</div>
		<div style=" position:absolute; margin-left:700px; margin-top: 50px;">
	<img alt="" src="pic/temp/${r"${dmanager.pic }"}" style="width: 190px;height: 280px;" >
	
	</div>
</body>
</html>
